| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Static Public Member Functions | List of all members
nkAstraeus::nkMathsWrap::MathConstantsWrapper Class Referencefinal

Wraps nkMaths::MathConstants and offers its values to use in scripting. More...

## Static Public Member Functions
static void | updateEnvironment (nkScripts::Environment *env)

## Detailed Description

Wraps nkMaths::MathConstants and offers its values to use in scripting.

## Member Function Documentation

## ◆ updateEnvironment()

static void nkAstraeus::nkMathsWrap::MathConstantsWrapper::updateEnvironment | ( | nkScripts::Environment * | env | ) |
| static

Updates a given environment and set it up to use all values wrapped by this wrapper.

nkMaths.MathConstants.PI
nkMaths.MathConstants.PI_SQRT
nkMaths.MathConstants.PI_2
nkMaths.MathConstants.PI_4
nkMaths.MathConstants.PI_OVER_2
nkMaths.MathConstants.PI_OVER_3
nkMaths.MathConstants.PI_OVER_4
nkMaths.MathConstants.PI_OVER_6
nkMaths.MathConstants.PI_OVER_8

Parameters

  env | The environment to set up.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsAstraeus/Scripts/nkMathsWrap/Constants/MathConstantsWrapper.h